package com.red.star.macalline.data.mappers;

import com.red.star.macalline.data.core.base.MyMapper;
import com.red.star.macalline.data.entity.Vip;
import org.apache.ibatis.annotations.Select;

/**
 * @author AMGuo
 * @Description 会员
 * @date 2018/03/03 16:24
 */
public interface VipMapper extends MyMapper<Vip> {

    @Select(value = "select * from t_vip t where t.vip_open_id = #{vipOpenId}")
    public Vip getVipByVipOpenId(String vipOpenId);
}
